package com.fanfan.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleDetailVo {
    private Long id;
    //标题
    private String title;
    //所属分类名
    private String categoryName;
    //分类id
    private Long categoryId;
    //访问量
    private Long viewCount;

    private Date createTime;

    private String summary;

    private String content;
    //是否允许评论（1是，0否）
    private String isComment;

    private String thumbnail;

    private String nickName;

}
/*
"categoryId": "1",
        "categoryName": "java",
        "content": "内容",
        "createTime": "2022-01-23 23:20:11",
        "id": "1",
        "isComment": "0",
        "title": "SpringSecurity从入门到精通",
        "viewCount": "114"*/
